require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'nice_bank')

require 'selenium-webdriver'
require 'capybara/cucumber'
require 'rspec/expectations'

Capybara.default_driver = :selenium

=begin
Capybara.register_driver :selenium do |app|
  Capybara::Selenium::Driver.new(app,:browser => :chrome)
end

# change default browser to chrome
Capybara.register_driver :selenium_chrome do |app|
  Capybara::Selenium::Driver.new(app, :browser => :chrome)
end
if Selenium::WebDriver::Platform.find_binary "chromedriver"
Capybara.default_driver = :selenium_chrome
else
  Capybara.default_driver = :selenium
end
=end